From 252c8b3bc05547c889eb926e19b64729612fa3de Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 26 May 1993 18:32:19 +0000 Subject: [PATCH] * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m; the former gives you the operating system rev directly. Use s/hpux.h if we don't recognize what we got. --- configure1.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure1.in b/configure1.in index af9ed64e4a4..b949da92abf 100755 --- a/configure1.in +++ b/configure1.in @@ -526,9 +526,10 @@ case "${configuration}" in ;; hppa*-hp-hpux* ) ## Cross-compilation? Nah! - case "`uname -m`" in - 9000/8?? ) machine=hp9000s800 opsys=hpux ;; - 9000/7?? ) machine=hp9000s800 opsys=hpux8 ;; + case "`uname -r`" in + *.08.* ) machine=hp9000s800 opsys=hpux ;; + *.09.* ) machine=hp9000s800 opsys=hpux8 ;; + *) machine=hp9000s800 opsys=hpux ;; esac ;; -- 2.30.2